<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>02 函数传参</title>
</head>
<body>
<script>
  function fn(a, b) {
    console.log(a + b);
  }

  fn(1, 2);
  fn(5);
  fn(4, 6, 9);
</script>
</body>
</html>